package com.book.iphone.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 作者：青松
 * 日期： 2018/1/31
 */
public class CateBook implements Serializable {
    /*
    * `ub_id` INT ( 20 ) UNSIGNED NOT NULL COMMENT '用户与图书对应id ',
`user_id` INT ( 11 ) DEFAULT NULL COMMENT '读者id',
`book_id` INT ( 11 ) DEFAULT NULL COMMENT '图书id',
`comment` VARCHAR ( 255 ) DEFAULT NULL COMMENT '图书品论',
`ruler_id` TINYINT ( 3 ) UNSIGNED NOT NULL COMMENT '规则id',
`is_recycle` TINYINT ( 1 ) UNSIGNED DEFAULT 0 COMMENT '是否收回',
`recycle_time` datetime DEFAULT NULL COMMENT '回收时间',
`cat_id` INT ( 50 ) UNSIGNED NOT NULL COMMENT '图书分类',
`book_status` TINYINT ( 3 ) UNSIGNED NOT NULL COMMENT '图书状态',
`cat_name` VARCHAR ( 255 ) DEFAULT NULL COMMENT '分类名称',
`book_name` VARCHAR ( 100 ) NOT NULL,
`book_img` VARCHAR ( 100 ) DEFAULT NULL,

`real_name` VARCHAR ( 20 ) DEFAULT NULL COMMENT '真实姓名',
`phone` VARCHAR ( 20 ) NOT NULL COMMENT '手机号',
`address` VARCHAR ( 255 ) DEFAULT NULL COMMENT '地址',
`integral` INT ( 255 ) UNSIGNED DEFAULT 0 COMMENT '积分',
`contribution` INT ( 255 ) UNSIGNED DEFAULT 0 COMMENT '贡献度',
`borrow_num` INT ( 11 ) UNSIGNED DEFAULT 1 COMMENT '可借本书',
`personal_description` VARCHAR ( 255 ) DEFAULT NULL COMMENT '个人描述',
`read_book` INT ( 11 ) DEFAULT 0 COMMENT '阅读过的书',
`read_age` TINYINT ( 3 ) UNSIGNED DEFAULT 1 COMMENT '阅读年龄',
`industry_id` TINYINT ( 5 ) UNSIGNED DEFAULT NULL COMMENT '行业id',
`sex` TINYINT ( 2 ) UNSIGNED NOT NULL DEFAULT 3 COMMENT '0:女,1:男,2:保密',
`images` VARCHAR ( 50 ) DEFAULT NULL COMMENT '用户头像',
`nick_name` VARCHAR ( 20 ) DEFAULT NULL COMMENT '用户昵称',
`motto` VARCHAR ( 50 ) DEFAULT NULL COMMENT '座右铭',
`industry_name` VARCHAR ( 50 ) DEFAULT NULL COMMENT '行业名称'
    *
    *
    * */
//用户与图书对应id
    private Integer ubId;
    //图书id
    private Integer bookId;
    //图书品论
    private String comment;
    //规则id
    private String bookImg;
    private Integer rulerId;
    //是否收回
    private Integer isRecycle;
    //回收时间
    private Date recycleTime;
    //图书分类
    private Integer catId;
    //图书状态
    private Integer bookStatus;
    //父分类
    private Integer parentId;
    //分类名称
    private String catName;
    //子id
    private Integer childId;
    //用户id
    private String userId;
    //真实姓名
    private String realName;
    //手机号
    private String phone;
    //地址
    private String address;
    //积分
    private Integer integral;
    //贡献度
    private Integer contribution;
    //可借本书
    private Integer borrowNum;
    //个人描述
    private String personalDescription;
    //是否黑名单 0 是 1 不是
    private Integer isBlack;
    //阅读过的书
    private Integer readBook;
    //阅读年龄
    private Integer readAge;
    //行业id
    private Integer industryId;
    //作者
    private String author;
    private String bookName;

    public String getBookImg() {
        return bookImg;
    }

    public void setBookImg(String bookImg) {
        this.bookImg = bookImg;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }
    // `author` varchar(10) DEFAULT NULL COMMENT '作者',

    public Integer getUbId() {
        return ubId;
    }

    public void setUbId(Integer ubId) {
        this.ubId = ubId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Integer getRulerId() {
        return rulerId;
    }

    public void setRulerId(Integer rulerId) {
        this.rulerId = rulerId;
    }

    public Integer getIsRecycle() {
        return isRecycle;
    }

    public void setIsRecycle(Integer isRecycle) {
        this.isRecycle = isRecycle;
    }

    public Date getRecycleTime() {
        return recycleTime;
    }

    public void setRecycleTime(Date recycleTime) {
        this.recycleTime = recycleTime;
    }

    public Integer getCatId() {
        return catId;
    }

    public void setCatId(Integer catId) {
        this.catId = catId;
    }

    public Integer getBookStatus() {
        return bookStatus;
    }

    public void setBookStatus(Integer bookStatus) {
        this.bookStatus = bookStatus;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getCatName() {
        return catName;
    }

    public void setCatName(String catName) {
        this.catName = catName;
    }

    public Integer getChildId() {
        return childId;
    }

    public void setChildId(Integer childId) {
        this.childId = childId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    public Integer getContribution() {
        return contribution;
    }

    public void setContribution(Integer contribution) {
        this.contribution = contribution;
    }

    public Integer getBorrowNum() {
        return borrowNum;
    }

    public void setBorrowNum(Integer borrowNum) {
        this.borrowNum = borrowNum;
    }

    public String getPersonalDescription() {
        return personalDescription;
    }

    public void setPersonalDescription(String personalDescription) {
        this.personalDescription = personalDescription;
    }

    public Integer getIsBlack() {
        return isBlack;
    }

    public void setIsBlack(Integer isBlack) {
        this.isBlack = isBlack;
    }

    public Integer getReadBook() {
        return readBook;
    }

    public void setReadBook(Integer readBook) {
        this.readBook = readBook;
    }

    public Integer getReadAge() {
        return readAge;
    }

    public void setReadAge(Integer readAge) {
        this.readAge = readAge;
    }

    public Integer getIndustryId() {
        return industryId;
    }

    public void setIndustryId(Integer industryId) {
        this.industryId = industryId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }
}
